package com.imooc.security.core.properties;

/**
 * @Author sherry
 * @Description
 * @Date Create in 2019-03-23
 * @Modified By:
 */

public interface SecurityConstants {

    /**
     * 默认的处理验证码的url前缀
     */
    String DEFAULT_VALIDATE_CODE_URL_PREFIX = "/code";


    /**
     * 验证码处理器名称的后缀
     */
    String VALIDATE_CODE_PROCESSOR_SUFFIX = "CodeProcessor";
    String DEFAULT_PARAMETER_NAME_MOBILE = "mobile";
    /**
     * 默认的用户名密码登录请求处理url
     */
    String DEFAULT_LOGIN_PROCESSING_URL_FORM = "/authentication/form";
    /**
     * 默认的手机验证码登录请求处理url
     */
    String DEFAULT_LOGIN_PROCESSING_URL_MOBILE = "/authentication/mobile";

    /**
     * 当请求需要身份认证时，默认跳转的url
     */
    String DEFAULT_UNAUTHENTICATION_URL = "/authentication/require";
}
